﻿
namespace VirtualRink.Library
{
	public partial class Team
	{
		public Player GetPlayerByPosition(string position)
		{
			foreach (Player player in this.Players)
				if (string.Compare(position, player.Position, true) == 0)
					return player;
			return null;
		}
	}
}
